// pages/pubDetail/pubDetail.js
Page({
  data: {
    title: ''
  },
  onLoad: function (options) {
    let type = options.type;
    this.setData({
      title: type=='0'? "医院详情": "警察局详情"
    })
  },
  onClickLeft() {
    wx.navigateBack({
      delta: 0,
    })
  },
})